package com.banquetmanagementsystem.service.impl;

import com.banquetmanagementsystem.mapper.UserInfoMapper;
import com.banquetmanagementsystem.pojo.entity.UserInfo;
import com.banquetmanagementsystem.service.UserInfoService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author tanghaihua
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {
    @Resource
    private UserInfoMapper userInfoMapper;
    @Override
    public UserInfo login(UserInfo userInfo) {
        return userInfoMapper.checkUser(userInfo);
    }
}
